import cart from '../utils/require'
export default {

    //获取购物车数据
    getCart(data) {
        return cart.post('/api/user/shoppingCart/getShoppingCart', data)
    },
    //删除购物车中某一条数据
    deleteCart(data){
        // /user/shoppingCart/deleteShoppingCart
        return cart.post('/api/user/shoppingCart/deleteShoppingCart', data)
    },
    //该变购物车中某一条数据数量
    updateShoppingCart(data){
        // /user/shoppingCart/deleteShoppingCart
        return cart.post('/api/user/shoppingCart/updateShoppingCart', data)
    }
}